package com.seed.launcher.listener.bluetooth;

import android.content.Context;

import androidx.annotation.Keep;

import com.seed.launcher.listener.Registerable;

/**
 * @author xct
 * create on: 2022/9/1 15:55
 */
@Keep
public class BluetoothListener implements Registerable {


    private BluetoothScanner mBluetoothScanner;
    @Keep
    public BluetoothListener(Context context, OnBluetoothChangListener onBluetoothChangListener) {
        mBluetoothScanner = new BluetoothScanner(context,onBluetoothChangListener);
    }

    @Keep
    @Override
    public void register() {
        mBluetoothScanner.register();
    }

    @Keep
    @Override
    public void unregister() {
        mBluetoothScanner.unregister();
    }
}
